package com.gitee.shigen.security.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gitee.shigen.security.entity.User;
import com.gitee.shigen.security.mapper.UserMapper;
import com.gitee.shigen.security.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * @author shigenfu
 * @since 2024-01-21
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User loadUserByUsername(String s) {
        return getBaseMapper().loadUserByUsername(s);
    }
}
